package org.example.springcioud.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @BelongsProject: Spring_Cloud
 * @BelongsPackage: org.example.springcloud.config
 * @Author:Mr.Yang
 * @CreateTime: 2020-10-20 11:26
 * @Description: 配置类
 **/
@Configuration
public class ApplicationContextConfig {
    @Bean
    public RestTemplate getRestTemplate(){
        return  new RestTemplate();
    }

}
